using source-branch and source-tag not possible but no explanation in help why this is the case
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
trying to build a kernel snap from a certain tag and branch results in the following error:
Sorry, an error occurred in Snapcraft:
Failed to pull source: cannot specify both 'source-branch' and 'source-tag' for a git source.
See `snapcraft help sources` for more information.
looking at "snapcraft help sources" does not explain that these two are mutually exlusive in any way:
...
- source-branch: <branch-name>
Snapcraft will checkout a specific branch from the source tree. This
only works on multi-branch repositories from git and hg (mercurial).
...
- source-tag: <tag>
Snapcraft will checkout the specific tag from the source tree revision
control system.
...
they should either not be mutually exclusive (why are they at all) or there should be a proper hint in the help that one disables support for the other
Evaluation history
No evaluation history available.